package org.nfIt.th04;

/**
 * ClossName:FileHandler
 * Pakage:org.nfIt.th04
 * Description
 *
 * @Author L
 * @Create 2024/5/19 11:51
 * @Version 2023.1.3
 */
public class FileHandler<T,E> implements Handler<T>{

    private T key;
    private E value;

    @Override
    public T handle() {
        return (T)"hello";
    }

    public FileHandler(T key, E value) {
        this.key = key;
        this.value = value;
    }

    public T getKey() {
        return key;
    }

    public void setKey(T key) {
        this.key = key;
    }

    public E getValue() {
        return value;
    }

    public void setValue(E value) {
        this.value = value;
    }
}
